package com.admin.service;

import com.admin.domain.ScoreParam;
import com.admin.domain.ScoreParamLog;
import com.admin.domain.SysParam;
import com.admin.vo.PageVO;
import com.admin.vo.ResultVO;
import com.admin.vo.SimpleResultVO;
import com.admin.vo.scoreParam.ScoreParamListVO;

import java.util.List;
import java.util.Map;

/**
 * 管理员service
 *
 * @author yangzhongliang
 * @date 2022/05/16
 */
public interface ScoreParamService {

    List<ScoreParam> selectAll();

    /**
     * 列表
     * @param pageIndex
     * @param pageSize
     * @param params
     * @return
     */
    ResultVO<PageVO<ScoreParamListVO>> getPageList(Integer pageIndex, Integer pageSize, Map<String, Object> params);


    /**
     * 日志列表
     * @param pageIndex
     * @param pageSize
     * @param params
     * @return
     */
    ResultVO<PageVO<ScoreParamLog>> getLogPageList(Integer pageIndex, Integer pageSize, Map<String, Object> params);

    /**
     * 查询单个详情
     * @param id
     * @return
     */
    ScoreParam getById(Integer id);

    /**
     * 修改
     * @param scoreParam
     * @return
     */
    SimpleResultVO update(ScoreParam scoreParam);


    ScoreParam getByModuleName(String moduleName);



    void initData();



}
